Near Maximum Likelihood Detection Algorithm Based on 1-flip Local Search over Uniformly Distributed Codes