Reduces the memory footprint of the box grid geometry by not storing corners which are not needed anymore.