Made PhyX trees recusive in structure