still working on memory issues with tree concat