Implemented the grid geometry manager.