A:avoid wasting; will have finished
B:to avoid wasting; has finished
C:avoid wasting; have finished
D:to avoid wasting; have finished