Split LCS code from Differ.