Change tree node indexing to breadth-first ordering.