Decompose with irreducible quadratic factors (#320)