Revert "Updated to new shared memmory"

This reverts commit 860b29e478cdbc76cd254a73c94b352ae11a41c6.