local_to_remote_begin: allocate large struct on the heap