The hardness of steel primarily depends on