`0 to n - 1` is equivalent to `0 until n`