Added compression for large messages