Shared memory version complete and tested