Working on making it so that extendMatch only takes in the residues of the current sequence that are in the current chunk so that it is easier to ensure that the extendMatch function and the functions it calls do not cross chunk boundaries