flatten warped pan