adding shared memory functionality for split processes