pub(crate) fn pack_size(n: u64) -> usize