Fail faster in equality test, using ZDD hash.