Move next to box_nbh2d_ so we can iterate without pixel_wise.
Fast9: Detect points at the end of each lines.