Do not use isPruned() so often