add LongestCommonPrefix