sum of one million in 100 threads