Corrections to grid cell creation