Attempt to constrain maximum value of gradient in edge.