test different formula for minimal depth that is smaller for high depths