improved move selection algorithm