Grobner systems conversion