added xmansion caching for intermediate results