Workaround for argmin/max codegen issue
More work on histo
update
Update
update
Update doc