add bucket to shm_array, shm_rbtree