Check for priority conditions.
Add coord-shortest target.