undo changes of the indecies of the parents and heights to the oriented forest format