Spawn foldl.

Spawn foldl in another process, which is recursive to keep updating
between the two data structures.