Bug fix: clean memo befor interp. More test cases: end of stream, lookahead.