choose the shortest path when alternate paths lead to the same max score.