Missed memoize in merge