calc_parameter_chunk_size function

Calculate the parameter chunk size in bytes