[fixup][md] Make MD grid geometry constructor backwards-compatible

5 jobs for !2970 with fix/md-gg-compatibility
latest merge request