fixed distance-checker