In this paper we address the problem of optimization of the so called supercooling effect in thermoelectric nanoscaled layers. The effect arises when a short term electric pulse is applied to the layer. The analysis is based on constitutive equations of the Maxwell-Cattaneo type describing the time evolution of dissipative flows with the thermal and electric conductivities depending on the width of the layer. This introduces memory and nonlocal effects and consequently a wave-like behaviour of system’s temperature. We study the effects of the shape of the electric pulse on the maximum diminishing of temperature by applying pulses of the form