A new algorithm for reoptimizing shortest paths when the arc costs change