change thread size to 1024