Control and test on distance betwwen nodes