fix a subtle bug in ckmulticast when using packing functions.