EMPTY_REP added, offset added to shmem_msg