deal with the case where one of pts,dts has wrapped but the other has not