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...
Merge pull request #221 from smarter/fix/Scopes-indexing

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