Structural optimization of 3D masonry buildings | Synapse