modified multithreading threshold