Identified falling edge of a polygon successfully