Added geodesic shortest path for seeds of the same label.