compress struct topics