
Every call to ensureTopologyRequirements has the same setup + checks. Therefore move this common code into the call to reduce redundancy.
Every call to ensureTopologyRequirements has the same setup + checks. Therefore move this common code into the call to reduce redundancy.