public CustomSumGroupedAccumulator(int channel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
{
this.channel = channel;
this.notNull = new BooleanBigArray();
this.sums = new LongBigArray();
this.maskChannel = maskChannel;
this.sampleWeightChannel = sampleWeightChannel;
}