Optimisation that saves creating fresh tree sets