Added the minleaf constraint in best_split