improve iterators on hash map container