fix parallel spline problem

some compilers seems to have problem with parallel spline (step>1).
fixed that