Added renumber-region function