CombiningTree implementation complete. Tested for more than 1000 threads.