Adaptive interpolation scheme for NURBS curves with the integration of machining dynamics