Controlling microstructure features (phase type, grain size, precipitation of secondary phases) and mechanical properties (strength, hardness, elongation) after heat treatment