Running all_shortest_path on large graph