working on tree generation params