simplify grid