Collapse load of masonry assemblages with piers and spandrels