that is why I override threshold and max-sample-size