preparing switch from List<City> to bit-wise operation on integers