How to combine food production with reforestation