reduce number of Histograms to increase speed of personal Analysis.
small bugfix to prevent seg fault if the file is empty.