to avoid ambiguity, range of min_samples_split is set to [2, n_samples] and min_samples_leaf cannot be 1.0