Preallocate the vector