one-by-one M&E memoizer