-%% Now that we can be sure that this request is for the current generation, we
-%% can handle it
-handle_cast({request_state, GenID, Requester},
- #state{gen_id=MyGenID
- ,cell_state=CellState
- }=State) when GenID =:= MyGenID->
+ {noreply, NewState};
+
+
+%% If we receive 'state_broadcast' before we receive 'next_gen',
+%% stash it until we do.
+%%
+%% Took me a while to realize this, but sometimes it is possible. The more
+%% there're cells, the more likely this is to happen.
+%%
+handle_cast({state_broadcast, ReceivedGenID, _NeighborState}=Msg,
+ #state{gen_id=GenID
+ ,early_msgs=EarlyMsgs
+ }=State) when GenID =/= ReceivedGenID ->