added some streaming to the memory tree