Whoops, memoization wasn't even working.