Update ComputeShortestPaths.cpp