Use BoardIterator in AddNonGroupEdges().