cubic spline - add dn and bn