Fixed memoization