spline wrapping