What do you mean by "every point align to the grid"? If the torus is the one in the popup box you have there, and the grid is the grid in the upper right corner, I'd say it might be possible to have eight points on the torus lie directly on top of grid intersection points. Those eight points would be the north, south, east, and west of the inner and outer radii. If 4096 is the width and height of the grid, you'd want to have the inner radius be 1024, and the outer radius 2048. Then you'd center the torus at the center of the grid.
I have no idea if this is what you had in mind, but it's what came to my mind.