Need to reduce the number of threads when using vectors.