added tree size output