Create index tree.