added tree stats tracking when building