More_leaf_trimming and adding