How to Prune a Tree