adding the distance field into city model