Include new implementation for DM hysteresis