Rewrite SVD compression