revert buggy hashToBigInteger change