TagTree data structure