165. A person whose conditional release has been terminated must complete the portion of the term of imprisonment that remained to be served at the time conditional release was granted, less(1) any remission time standing to his or her credit at the time conditional release was granted;
(2) any time spent under conditional release;
(3) any time spent in custody by reason of the suspension of a conditional release; and
(4) any remission time for the period spent in custody by reason of the suspension.