Refactoring of the code for moving vertices with all tracks connected.