changed quad_over_lin to extended domain