make index operation more efficient in SHMDedup