Steps to obtain a transformation. (1) put a
at one of the grid points d-ball of b
. (2) put a
at a grid point on the intersection of the sphere centered at a
with radius |a
| and d-ball of b
. There are at most grid points on the intersection. (3) use a
as the rotation axis.