RE: Running out of memory in a simple monad