PERF: more reducer improvements