This is wrong.  We need to account for the fact that another element within the region spanned by lcs might be unique even though the original element that caused us to create the region is now not unique.