Changed shortest-paths to all-pairs-shortest-paths.