Fixed directionality issues. LCS should work now.