add size limited hashmap