This is a vector now because the threads need random access.