Speed up GaussLegendre for large n.