Added indices to binary tree.