private double kB(int i){
  final double[] binBounds=getUpperBounds();
  final RealDistribution kernel=getKernel(binStats.get(i));
  return i == 0 ? kernel.probability(min,binBounds[0]) : kernel.probability(binBounds[i - 1],binBounds[i]);
}

private double kB ( int i ) { final double [ ] binBounds = getUpperBounds ( ) ; final RealDistribution kernel = getKernel ( binStats . get ( i ) ) ; return i == 0 ? kernel . probability ( min , binBounds [ 0 ] ) : kernel . probability ( binBounds [ i - 1 ] , binBounds [ i ] ) ; }
mass of bin i under the within - bin kernel of the bin .
