What conditions allowed hunters and gatherers to settle down?