Cursor memoize hasher should hash the state subtree, not the entire state