return zero for empty hist values