Removed tree debug code