the damage of legumes