Relabel split trees to use the proper matrix indices