A mountainous region suffered many forest fires during last year's dry season. Before this year's dry season begins, you want to build a single fire tower from which every slope of the mountain range can be watched. To keep the construction cost as low as possible, you want the height of the tower to be as small as possible.
A polyhedral terrain can be thought of as the surface of a mountain range made of flat faces, with no curves and no overhangs. In this problem we consider only the two-dimensional case, which simplifies the terrain into a single polygonal chain in the plane. The chain is given by n vertices v1,v2,…,vn in increasing order of x-coordinate, together with n−1 edges, where edge i connects the two adjacent vertices vi and vi+1 for 1≤i≤n−1.
The figure below shows the minimum-height fire tower for one polygonal chain.

The tower is built vertically on the terrain, and its base may lie on any vertex or any edge of the chain. Compute the smallest possible height of the tower such that every point of the chain is visible from the top of the tower. A point q of the terrain is visible from the top p of the tower when the straight segment pq never goes below the terrain. You may assume that the minimum height is never 0.
The input is read from standard input. The first line contains the number of test cases T. Each test case begins with a line containing an integer n, the number of vertices, where 4≤n≤1000. Each of the next n lines contains two integers x and y, the coordinates of one vertex, where 0≤x,y≤100000. The vertices are given with distinct, strictly increasing x-coordinates.
For each test case, print a single line containing the minimum height of the fire tower that can watch the whole polygonal chain, rounded to one digit after the decimal point. If this minimum height is greater than 1000, print IMPOSSIBLE instead.