“Compacting sparse bundles doesn’t clean up fragments of deleted files, nor does it remove detritus accumulated in the file system, or the APFS container. “

Link. There is so much work that can be done in macOS