if {HEAD ~ the threat risk value} of any of the grid cells intersecting the flight path exceeds {TAIL ~ the allowable threat risk} per grid cell, identifying an intermediate point from which to deviate the flight path based upon an analysis of the cumulative threat risk values of the grid cells 
if { HEAD ~ the threat risk value } of any of the grid cells intersecting the flight path exceeds { TAIL ~ the allowable threat risk } per grid cell , identifying an intermediate point from which to deviate the flight path based upon an analysis of the cumulative threat risk values of the grid cells
OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH REL TAIL TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH