arcanis: so why would you need to store the length at memoization time?