2x refinement code