make lcs a pair instead of a triple: [indexed of first seq, index of second seq] for each matched item