memoize episodes