change perthreadmemory padding