modified masonry layout