set distance to city