Word updates and better random selection algorithm