Check Vec::with_capacity needs set_len everywhere