allow recreating an index tree