def to_page_range(entry):
    """
    Contructs a range object from a single entry for the pages it accessed.

    Range has increments of 8 because page access in the traces are in multiples of 8.
    """
    parts = entry.payload.split(' ')
    sector = int(parts[0])
    try:
        blocks = int(parts[2])
    except IndexError:
        blocks = 1
    return range(sector, sector + blocks, 8)