WITNESS_ANCESTOR
#define WITNESS_ANCESTOR_MASK (WITNESS_PARENT | WITNESS_ANCESTOR)
if ((w_rmatrix[pi][ci] & WITNESS_ANCESTOR) == 0) {
w_rmatrix[i][j] |= WITNESS_ANCESTOR;