rice production optimization