adding threshold for clearance checking