The purpose of heat treatment of steel is/are