An efficient implementation of the UPML for truncating DGTD domains