Problem E: Polygon Move

Time Limit: 1s

In this problem, you are given the vertices of a convex polygon in clockwise order. We want to increase the size of the given convex polygon by picking some of its vertices and moving them. We are not allowed to choose vertices that are adjacent to each other, and we are not allowed to move a chosen vertex a distance of more than 1. Of course the boundary segments between a moved vertex and its fixed adjacent vertices also move -- we require that moving boundary segments never intersect any other boundary segments. This guarantees that we will end up still with a polygon (possibly not convex).

Given the sequence of vertices of a convex polygon, you are to output the greatest increase in area that can be achieved by choosing and moving vertices.

Input

Standard input will contain multiple test cases. The first line of the input is a single integer T (1 <= T <= 150) which is the number of test cases. T consecutive test cases follow.

For each case, there is an integer N (3 <= N <= 50), represents the number of vertices in the convex polygon. Then N lines follow, each containing two integers x and y represent the coordinate of a vertice (-1000 <= x, y <= 1000). The described polygon will be clockwise convex as specified above. The points corresponding to x and y will be distinct.

Output

For each test case, output one line with the greatest increase in area that can be achieved by choosing and moving vertices. The answer should be given as a floating point number, keep two digits after the fraction point.

Sample Input

2
3
0 0
1 1
2 0
4
0 1
1 1
1 0
0 0

Sample Output

1.00
1.41

Hint

For Sample 1, it is an isosceles triangle that has an area of 1. We can increase its area most by moving the middle point from (1,1) to the point (1,2). Now the triangle will have an area of 2, so the increase in area is 1.

For Sample 2, the polygon is a unit square. We can move (0,0) and (1,1), moving them each one unit along the 45 degree diagonal to (-1/sqrt(2),-1/sqrt(2)) and (1+sqrt(2),1+sqrt(2)) respectively. The new polygon is diamond shaped and has an area of 1 + sqrt(2), so its area has increased by sqrt(2).