double val = inst.value(j);
int k;
for (k = m_intervalBounds[j].length-1; k >= 0; k--) {
if (val > m_intervalBounds[j][k]) {
m_counts[j][k][(int)inst.classValue()] += inst.weight();
break;
} else if (val == m_intervalBounds[j][k]) {
m_counts[j][k][(int)inst.classValue()] +=
(inst.weight() / 2.0);
m_counts[j][k-1][(int)inst.classValue()] +=