This should be extracted as a class variable
```java
public static final double DEFAULT_TOLERANCE = 10E-6;
```
(No undocumented magic numbers.) Then you can set
```java
double tolerance = DEFAULT_TOLERANCE;
```