max leafs can be set in cli options