implement the modular discriminant delta