check value of max_leaf_nodes