Migration of nomads to stone residences