find_shortest_path: first & last portal indices as arguments.