Denote by Sn(x,y) the length of the longest common substring of x and y with shifts in their first n digits of b-ary expansions. We show that the sets of pairs (x,y), for which the growth rate of Sn(x,y) is αlogn with 0≤α≤∞, have full Hausdorff dimension.