what accounted for the shift from nomadic to sedentary