changed grid size of C