The intensity of shear stress in a shaft subjected to torsion is maximum at