remove bow memoization cache
same problem -- maybe just use dictionary instead?