add comments explaining memory_share_net