removed tree size api from Tree. Added equivalent functionality to TreeTools