* Sandbox mem IO according to COMPLEXITY.md * Fix tests. * Update root hash for deploying contract test.