Try letting the derivative go slightly positive in edge.