m3gzc shared memory function tested