initial commit of sparse histogram fits.