Changed for 10 iterations of 10 threads