Work in progress: porting inline hash set to map.

Worked on iteration.