memoized edit distance