Memoization
Merge