Add a distance comparator in framework.