change database design (+ speed, passedTriggerNo, - distanceR)