Midplane temperature and outer edge of the protoplanetary disk around HD 163296