added scalefactors to n-1 hists
add safety check