Sedimentation during basin inversion