Shaft segment