Improved quadratic