Improve the precision of error correction by setting positions that should not be corrected