Actually we checked.
```
var rangeSize = range.end - range.start + 1;
while(rangeSize >0) {do something}
```