Scays: Pyramid calculation