replaced IOMemory store with new implementation based on Python sets