flattening the pyramid of doom