Newest version of select_quad with correct low energies