changed order of spline approximation from 5 to 3