This performs the same task as the hole-carving code in the main span refiner, but in a separate earlier pass.