define size of grid