fixed distance counter