The size of middle class and its effect on global food security