optimization, latitudes/longitudes are now looked up in a dictionary