make the thread pool allocate the memory buffer rather than instanciating it