removing some extraneous feedback and parameterizing branching, depth and min_nodes