Converting examples to shared memory usage.