fixed wrong yield for histograms for which negativ entries occured