code: function () {
          if (Utils.isNullOrEmpty(server.spaceGeometries) && !Utils.isNullOrEmpty(server.spaces)) {
              Object.keys(server.spaces).forEach(function (s) {
                  const geometry = { w: Number.MIN_VALUE, h: Number.MIN_VALUE };
                  server.spaces[s].forEach(function (e) {
                      geometry.w = Math.max(e.x + e.w, geometry.w);
                      geometry.h = Math.max(e.y + e.h, geometry.h);
                  });
                  log.debug('Successfully computed geometry for space:', s);
                  server.spaceGeometries[s] = geometry;
              });
          }
          return server.spaceGeometries;
      }
docs: Internal utility function to calculate space geometries.