Revert "Trying 2-bit representation before hashing".

Needs more testing, for now it is slower than the current implementation.

This reverts commit 359486c631a0adb0fb59f9133ae7c632f29b011d.