new changes to hash.py. Update lowest bit set