The mathematics of farming will change in 152 riverside villages