Add args for min and max threads.