LCS diff priority, `head` or `tail`