limit depth to 30 plies with evaluation of king in check