removed our modification to prune so that it can now prune all the way to a leaf