Update tree.h-- removed unused code for a cleaner build