combinatorial factorization on grids of sample points of algebraic sets
in double double and quad double precision