Adding in the caching optimization. CoveredHoleMetricUtils won't check the
clearability of a single layer more than once.
Authored by: nerius 2023-05-24
Parent: [r777]
Child: [r779]