edits to SNCompression --David Caratelli