How can I make this sentence better?

The following sentence will go into a technical article and I wanted to know how to write the following sentence in a better form: Results are shown when the region localization constraint is enforced and when it is taken off. I believe this does not read well. There are two “when”s and they spoil the … Read more