A numerical tool for thermo-mechanical analysis of multilayer stepped structures