lcs and dir restructuring