Packing arithmetic parameters into single structure