Longest sharing