I think you want to use `currentHop + 1` here