;
;
else
.
Algorithm 4: Adaptation-II.