optimized grid with Transformation