modified map_get, map_set, map_has to work much faster