Square Annulus

No attempts yetTime limit1sMemory limit128 MB

Problem

A square annulus is the region that lies between two concentric, axis-parallel squares: two squares that share the same center and whose sides are parallel to the xx- and yy-axes. Concretely, it is the set of all points that lie inside the larger square (boundary included) but outside the smaller square (boundary included). The width of a square annulus is defined as half the difference of the side lengths of its two squares.

You are given NN points in the plane. Find a square annulus AA of minimum width that contains all NN points, and report that minimum width.

You may use the following fact, which was established by a German research group.

Among all minimum-width square annuli that contain the NN points, there is one whose outer square is a smallest axis-parallel square containing the points.

Hence you may assume the outer square SS of AA has the smallest possible side length LL among all axis-parallel squares that contain the NN points; that is, no axis-parallel square with side length less than LL contains all of them. Several distinct squares of side length LL may contain the points, so the outer square is not necessarily unique.

Note that the width can be 00 (when the two squares coincide), and the inner square may shrink to a single point of side length 00, in which case the width equals half the side length of the outer square.

Input

The first line contains an integer TT, the number of test cases. The test cases follow one after another.

Each test case begins with a line containing an integer NN (1N100,0001 \le N \le 100{,}000), the number of points. Each of the next NN lines contains two integers, the xx- and yy-coordinates of one point, separated by a single space. Every coordinate is an integer between 1,000,000-1{,}000{,}000 and 1,000,0001{,}000{,}000, inclusive. There are no blank lines between consecutive test cases.

Output

For each test case, print one line containing the minimum width of an axis-parallel square annulus that contains all NN points of that test case. Print the value with exactly one digit after the decimal point, rounding to one decimal place if necessary.