Fixed spline_generate