fixed memory resident tree issue for generation of datasets with eta cuts