for(int y=prev; y<split; y++){
Instance inst = data.instance(y);
fstCover += inst.weight(); sndCover -= inst.weight();
if(m_ClassAttribute.isNominal()){ // Nominal class
fst[(int)inst.classValue()] += inst.weight();
snd[(int)inst.classValue()] -= inst.weight();
}
else{ // Numeric class
fstWtSq += inst.weight() * inst.classValue() * inst.classValue();
fstWtVl += inst.weight() * inst.classValue();
sndWtSq -= inst.weight() * inst.classValue() * inst.classValue();