Renumber nodes