public boolean liesToClose(ForbiddenZone fz, Difficulty diff) {
        int a = GetConfigByDiff.setRecAccuracy(diff)*2;
        for (Point point:this.data){
            double x1 = point.getX();
            double y1 = point.getY();
            if ((Math.abs(fz.getX()-x1)<a) ||  (Math.abs(fz.getY()-y1)<a) || (Math.abs(fz.getX()+fz.getLength()-x1)<a) || (Math.abs(fz.getY()+fz.getHeight()-y1)<a)
                    || fz.isIn(x1,y1))
                return true;
        }
        return false;
    }