flattened the class hierarchy of the natural spline