adapted for large Barkhausen jumps or domain wall rotations