Forgot that vectors do not allocate memory if you add elements using [].