The path to figuring out the shortest path isn’t such a short one.