Roaming zones of precipitation on ancient Mars as recorded in valley networks