Text this: Application of the calculus of variations to the vertical cut off in cohesive frictionless soil