speed up Map iterator