computing possible groupings of disk accesses