test renumbering cell_wise