move computeNextHop