cleanup
remove concurrency from code that just allocates memory and does nothing else