Added if statements for attempt_ext into the compress function.  extendMatch will later be inside the blocks for these if statements