How to prune in a direction