Masonry dam