Arena based tree structure using indices instead of reference counted pointers for efficient tree manipulation.