The stress of the water increases linearly with its depth. Water also pushes against the upstream face of the dam, a nonrigid structure that under stress behaves semiplastically, and causes greater need for adjustment (flexibility) near the base of the dam than at shallower water levels. Thus the stress level of the dam must be calculated in advance of building to ensure that its break level threshold is not exceeded.[4]