Prune in single pass to speed up. Add playout threshold to limit pruning time.