Fixed bithash implementation.