@Override
    int nextM(int n, int m) {
        for (int i = m + 1; i < g2.length; i++)
            if (m2[i] == UNMAPPED) return i;
        return g2.length;
    }
@ Override int nextM ( int n , int m ) { for ( int i = m + 1 ; i < g2 . length ; i ++ ) if ( m2 [ i ] == UNMAPPED ) return i ; return g2 . length ; }
{@inheritDoc}