spawn seperate processes for reductions; added thread numbers to the log