improve threading timings