The alternatives are no better.
17... f8e8  18. d4c5  18... d5d4 A very difficult choice. 19. c3c4 Another tough choice, now for White. This move allows Black to equalize. 19... f6g5 an important move, attacking both the knight and the pawn on c5.