changes to tree growing code

:D