linear memory cellular automata