reducing encoder distance per count var