We adopt a greedy approach to interactively remove binding constraint from codewords. First, we replace β in Equation 3 with a βi for each module mi and initialize its value to 100. Then for
each RS block, we sort its code words according to a priority calculated by averaging the importance weight of eight data modules.
The code word of highest priority will be set free and the βi of its
modules is set to 0. Next, we solve the pattern assignment optimization and count the number of erroneous code words in each RS block.
The process repeats until it reaches the desired number of erroneous code words (50% of ECC in our tests).