FacetTree generator