fixed distance comparator
enabled and tested nearby comparator