change thread count