This should not be done inside of the loop.
Either pre-book some reasonably large vector size at the start or just rely on the compiler to preallocate space as needed.

From the profiler, this call takes 20% of this producer time.