"Similarly f to h is a part of the shortest path to h from a." . . . .