BuildPyramid: cleanup