reuse pack/unpack
working for fine-grained mixable
Port linear_function_mixer from suma/jubatus:core