optimize spline workflows