Did you add the `assert` in `SubGrid` already to prevent that in the future?