fixed reduce arguments

had to tweak the aguments for createRedWorkers and related functions