improved SplineC