Replaces inclusive range with exclusive one.

Before:

0 to x - 1

After:
0 until x