fixed pack/unpack on 32bit CPU architecture 2