PartialResult partial = map.get(feature);
if(partial == null) {
final MixEventName event = msg.getEvent();
switch(event) {
case average:
partial = new PartialAverage(scale);
break;
case argminKLD:
partial = new PartialArgminKLD(scale);
break;
default: