cut limit in half
collision detection for patient_id