adjust thread number and put size