How masonry width works