Remove all files from snap that are already included in the base snap or in any connected content snaps. The main advantage is the massively reduced snap size: From ~70 MB down to ~6 MB.
To test it, use: $ ./pkg/flatpak/build.sh $ flatpak install ./pkg/flatpak/solvespace.flatpak $ flatpak run com.solvespace.SolveSpace