Fix 2d raster size