Improving spline model