Uploading single source shortest path