In what period did all hunter-gatherers begin to specialize