better histograme estimator