Factors determining staple foods