BuildPyramid - minor fixes