- simplify and improve astmm by using thread storage instead of a dynamic