some changes
creating histo factory to define binning  in just one place