The thermostat is not made specifically to modulate, but melting and hardening takes a finite amount of time, therefore the expansion/contraction is not instantaneous, making some degree of modulation occur.