
newRand = 1 + rand()&7;