Added the renaming of vertices due to proximity