public void readGlobalConfig() {
        final BExpressionContext expctxGlobal = expctxWay; // just one of them...

        setModel(expctxGlobal.useKinematicModel);

        carMode = 0.f != expctxGlobal.getVariableValue("validForCars", 0.f);
        bikeMode = 0.f != expctxGlobal.getVariableValue("validForBikes", 0.f);
        footMode = 0.f != expctxGlobal.getVariableValue("validForFoot", 0.f);

        waypointCatchingRange = expctxGlobal.getVariableValue("waypointCatchingRange", 250.f);

        // turn-restrictions not used per default for foot profiles
        considerTurnRestrictions = 0.f != expctxGlobal.getVariableValue("considerTurnRestrictions", footMode ? 0.f : 1.f);

        correctMisplacedViaPoints = 0.f != expctxGlobal.getVariableValue("correctMisplacedViaPoints", 1.f);
        correctMisplacedViaPointsDistance = expctxGlobal.getVariableValue("correctMisplacedViaPointsDistance", 40.f);

        // process tags not used in the profile (to have them in the data-tab)
        processUnusedTags = 0.f != expctxGlobal.getVariableValue("processUnusedTags", 0.f);

        // forceSecondaryData = 0.f != expctxGlobal.getVariableValue( "forceSecondaryData", 0.f );
        pass1coefficient = expctxGlobal.getVariableValue("pass1coefficient", 1.5f);
        pass2coefficient = expctxGlobal.getVariableValue("pass2coefficient", 0.f);
        elevationpenaltybuffer = (int) (expctxGlobal.getVariableValue("elevationpenaltybuffer", 5.f) * 1000000);
        elevationmaxbuffer = (int) (expctxGlobal.getVariableValue("elevationmaxbuffer", 10.f) * 1000000);
        elevationbufferreduce = (int) (expctxGlobal.getVariableValue("elevationbufferreduce", 0.f) * 10000);

        cost1speed = expctxGlobal.getVariableValue("cost1speed", 22.f);
        additionalcostfactor = expctxGlobal.getVariableValue("additionalcostfactor", 1.5f);
        changetime = expctxGlobal.getVariableValue("changetime", 180.f);
        buffertime = expctxGlobal.getVariableValue("buffertime", 120.f);
        waittimeadjustment = expctxGlobal.getVariableValue("waittimeadjustment", 0.9f);
        inittimeadjustment = expctxGlobal.getVariableValue("inittimeadjustment", 0.2f);
        starttimeoffset = expctxGlobal.getVariableValue("starttimeoffset", 0.f);
        transitonly = expctxGlobal.getVariableValue("transitonly", 0.f) != 0.f;

        showspeed = 0.f != expctxGlobal.getVariableValue("showspeed", 0.f);
        showSpeedProfile = 0.f != expctxGlobal.getVariableValue("showSpeedProfile", 0.f);
        inverseRouting = 0.f != expctxGlobal.getVariableValue("inverseRouting", 0.f);
        showTime = 0.f != expctxGlobal.getVariableValue("showtime", 0.f);

        final int tiMode = (int) expctxGlobal.getVariableValue("turnInstructionMode", 0.f);
        if (tiMode != 1) { // automatic selection from coordinate source
            turnInstructionMode = tiMode;
        }
        turnInstructionCatchingRange = expctxGlobal.getVariableValue("turnInstructionCatchingRange", 40.f);
        turnInstructionRoundabouts = expctxGlobal.getVariableValue("turnInstructionRoundabouts", 1.f) != 0.f;

        // Speed computation model (for bikes)
        // Total mass (biker + bike + luggages or hiker), in kg
        totalMass = expctxGlobal.getVariableValue("totalMass", 90.f);
        // Max speed (before braking), in km/h in profile and m/s in code
        if (footMode) {
            maxSpeed = expctxGlobal.getVariableValue("maxSpeed", 6.f) / 3.6;
        } else {
            maxSpeed = expctxGlobal.getVariableValue("maxSpeed", 45.f) / 3.6;
        }
        // Equivalent surface for wind, S * C_x, F = -1/2 * S * C_x * v^2 = - S_C_x * v^2
        sCX = expctxGlobal.getVariableValue("S_C_x", 0.5f * 0.45f);
        // Default resistance of the road, F = - m * g * C_r (for good quality road)
        defaultCR = expctxGlobal.getVariableValue("C_r", 0.01f);
        // Constant power of the biker (in W)
        bikerPower = expctxGlobal.getVariableValue("bikerPower", 100.f);
    }
clean the nogolist (previoulsy saved by saveFullNogolist())
by removing nogos with waypoints within
main/src/main/java/cgeo/geocaching/brouter/core/RoutingContext.java