In RH9, if the CPU 40 determines that the lateral-end determination flag SDFG is off (RH9: NO), in RH10, the CPU 40 saves the most downstream leading-end position DHP as the most downstream lateral-end position DSP in the RAM 42. If the CPU 40 determines that the lateral-end determination flag SDFG is on (RH9: YES), or following RH11, the CPU 40 ends the most downstream lateral-end position detecting process RE3. The most downstream lateral-end position detecting process RE3 ends at the end of RH11. At the end of RE3, ends the downstream positions detecting process RA3. The flow returns to the calculating process R3 to obtain the upstream corner position UHVP and the downstream corner position DHVP (see 
[Leading-End Line Calculating Process RA4]