do not allocate too much space for hash index elements