PolyGrid Rewrite