fixing a bug of unpack4bits.

Ptr a > Ptr a causes segfault, sigh.