algo4: heap: Trapping rain water in 3d terrace