Races and nations as functions of the world whole