add read in shm_hashset to use iterator