lagrange/linear interpolator clamp