simplification of the pdf analysis using fixed number of bins and a minimum error to 5% of the values