add comment documenting function of set_size method in SyncedMemory