SGFNodeIterator nextMoves = node.iterator();
int bits = 0;
if (nextMoves.next(true) != null) {
nextMoves.firstVariant(true);
do {
bits |= nextMoves.current().bits;
} while (nextMoves.nextVariant(true) != null);
}
//#ifdef debug
System.out.println("Next move bits: " + bits);