compare random number and the number of speculation