changed threads and heap size