Use `Hash` instead of IterBytes, use `collections::hashmap` instead of `std::hashmap`