HistoMap: remove unused variables and wildcard imports