Whose preferences count? A study of the effects of community size and characteristics on the distribution of the benefits of schooling