Wakefield assisted bunch compression in storage rings