Fix grid sizes documentation

Fixes #8658