A.B. Vasil'eva, M.G. Dmitriev, Ni Ming Kang, On a step-like contrast structure for a problem of the calculus of variations