was the change from hunting and gathering to agriculture sudden?