Scopes: make sure every bucket of the hash table is used

Previously, one bucket was never used because in binary,
12*2^n - 1 = 101111...

Review by @odersky @namin .