fn ensure_len<T: Default>(v: &mut Vec<T>, size: usize)
Grow a Vec by appending the type’s default value until the size is reached.
size