Corrected m/estep threading