make tree standalone