lib: 10% improvement for k256 ireduce