slow progress on fixing DTree engine