Rewrite the 2-atomspace code to use nested atomspace.