allocated TreeGenerator