latester: Fix histogram and remove dead code