Reminder: in case of any technical issues, you can use the lightweight website
m1.codeforces.com,
m2.codeforces.com,
m3.codeforces.com.
×

Package for this problem was not updated by the problem writer or Codeforces administration after we’ve upgraded the judging servers. To adjust the time limit constraint, solution execution time will be multiplied by 2. For example, if your solution works for 400 ms on judging servers, then value 800 ms will be displayed and used to determine the verdict.

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

E. Martian Colony

time limit per test

4 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputThe first ship with the Earth settlers landed on Mars. The colonists managed to build *n* necessary structures on the surface of the planet (which can be regarded as a plane, and the construction can be regarded as points on it). But one day the scanners recorded suspicious activity on the outskirts of the colony. It was decided to use the protective force field generating system to protect the colony against possible trouble.

The system works as follows: the surface contains a number of generators of the field (they can also be considered as points). The active range of each generator is a circle of radius *r* centered at the location of the generator (the boundary of the circle is also included in the range). After the system is activated, it stretches the protective force field only over the part of the surface, which is within the area of all generators' activity. That is, the protected part is the intersection of the generators' active ranges.

The number of generators available to the colonists is not limited, but the system of field generation consumes a lot of energy. More precisely, the energy consumption does not depend on the number of generators, but it is directly proportional to the area, which is protected by the field. Also, it is necessary that all the existing buildings are located within the protected area.

Determine the smallest possible area of the protected part of the surface containing all the buildings.

Input

The first line contains two integers *n* and *r* (1 ≤ *n* ≤ 10^{5}, 1 ≤ *r* ≤ 50000) — the number of buildings and the active ranges of the generators, correspondingly.

Next *n* lines contains the buildings' coordinates. The *i* + 1-th (1 ≤ *i* ≤ *n*) line contains two real numbers with at most three digits after the decimal point *x*_{i} and *y*_{i} (|*x*_{i}|, |*y*_{i}| ≤ 50000) — coordinates of the *i*-th building. It is guaranteed that no two buildings are located at the same point, and no two different buildings are located closer than 1.

It is guaranteed that there exists a circle with radius *r* that contains all the buildings.

Output

Print the single real number — the minimum area of the protected part containing all the buildings. The answer is accepted if absolute or relative error doesn't exceed 10^{ - 4}.

Examples

Input

3 5

0.00 0.000

0.0 8.00

6 8.00

Output

78.5398163397

Input

4 1000

0.0 0.0

0 2.00

2.00 2

2.0 0.00

Output

4.0026666140

Input

4 5

3.00 0.0

-3 0.00

0.000 1

0.0 -1.00

Output

8.1750554397

Note

In the first sample the given radius equals the radius of the circle circumscribed around the given points. That's why the circle that corresponds to it is the sought area. The answer is 25π.

In the second sample the area nearly coincides with the square which has vertexes in the given points.

The area for the third sample is shown on the picture below.

Codeforces (c) Copyright 2010-2019 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Dec/14/2019 14:45:56 (g2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|