Let A be a compact set in R $\mathbb {R}$ , and E = d ? $E=A^d\subset \mathbb {R}^d$ . We know from the Mattila–Sjölin's theorem if dim H ( ) > + 1 2 $\dim _H(A)>\frac{d+1}{2d}$ then distance ? $\Delta (E)$ has non-empty interior. In this paper, we show that threshold $\frac{d+1}{2d}$ can improved whenever ? 5 $d\geqslant 5$