Replications with Gröbner bases