restructuring
cubicspline