A recursive trapezoid-based algorithm designed to compute the strength- and stiffness-related geometric properties of beams with polygonal cross-sections | Synapse