Algorithm 97: Shortest path | Synapse