calc improvment for facet term expansion