how about this:
```python
start, end = calculate_ranges(page, CHARTS_PER_PAGE, len(fields))
fields = fields[start:end]
```