Weighted Loss and eager apply of reduce

The reduce now tries to apply the reduce function eagerly so that the
state on the receiving end does not blow up