Implement masonry.