Correct the range detection in case of negative values
cleanup comment
add properties to histograms