Reduce the depth of some branches