This removes the usage of `std::deque` introduced
in a43359eb88
It turns out this implementation has issues on Windows as pointed
out by Sean Kim. Falling back to a growing vector.
Pull Request: https://projects.blender.org/blender/blender/pulls/144925