indices for lcs
small stuff