Added optimization via randomness for fast tournaments.