binary TreeItem writer iteration one