tune maketree.py