Features of spectral compression based on sum-frequency generation