Fix grid size calculation