add Lorig expansion and parabola least squares