fixed distance between query