added new param threadsize