minor change to how to call dijkstraSP