Add further minification improvements and tests for step cache array