Improved memory usage and let geometry storage optional

2 jobs for master in 4 minutes and 43 seconds
Status Name Job ID Coverage
  Test
passed linters #81161

00:04:43

passed tests #81162

00:04:22