Reduced magic numbers, grid is initialized now