before and after pruning illustration