add Longest Common Prefix