Optimization to seeking in BAI files.