add index tree