Overcoming the COF trilemma