shm assignment