reduce the number of trees