0fd851bd4b
Instead of using `to_ranges` and then iterating, we just iterate over the ranges directly.
Instead of using `to_ranges` and then iterating, we just iterate over the ranges directly.