8. Find all values of the parameter $a$ for which the quadratic trinomial $\frac{1}{3} x^{2}+\left(a+\frac{1}{2}\right) x+\left(a^{2}+a\right)$ has two roots, the sum of the cubes of which is exactly three times their product. In your answer, specify the largest such $a$.