tensor compression works