{
SGFNodeIterator i = game.kifuLastMove().iterator();
// skip to node with some variants
while (i.prev(true) != null
&& i.nextVariant(false) == null
&& i.prevVariant(false) == null)
// DO NOTHING
;
if (!(i.nextVariant(false) == null && i.prevVariant(false) == null)
&& i.current() != game.kifuLastMove()) {
// play game to found node