+
+ if ((cur+3)->move && (cur+3)->move == (cur+2)->move) // Due to a SMP race
+ (cur+3)->move = MOVE_NONE;
+
+ // Be sure countermoves are different from killers
+ if ((cur+2)->move != cur->move && (cur+2)->move != (cur+1)->move)
+ end++;
+
+ if ((cur+3)->move != cur->move && (cur+3)->move != (cur+1)->move)
+ (end++)->move = (cur+3)->move;