Update all_shortest_paths.hpp