Estimate the running time of your algorithm. Estimate it also when it is known that d is an upper bound on the outdegree of the points of G and l is an upper bound on the number of edges on any shortest path in G.