Tree domestication takes a lot longer than for pulses and grains, which hints they might have started rather earlier. The Amazon basin was never as heavily affected by ice ages as temperate regions smothered under ice, miles deep, although of course it went through major climate shifts of its own. I would not be surprised to learn that, 20kya, much of it was savanna.