length of longest common substring