Instead of figuring out which nodes are remote on each tick, why not just keep track of the actual remote peers in `#state.remote_peers`. This can be done with a check in the `handle_cast({peer_pid, Peer, Pid}, State=#state{remote_peers=Remote})` clause.