fix a bug of XorBinaryPacking
dubugging XorBinaryPacking