let
reset hist = {hist
with
counts =
Array
.create (
Array
.length hist.counts) 0.}