Let all of nodes have sum of euclidean distance.