Zaslat SMS: Thermodynamics of microstructures