Use thread safe array.