WIP on generating pyramids automatically