Changed position of toc in max_threads.