spline evaluation code started