allow pruning contexts to hierarchies
allow multiple pruning hierarchies