Compare distance ints for distance