lcs effect compare code -- incomplete, tagging is very slow