The successive node snapping scheme for an evolving branched curve in 2D and 3D. (June 2019)