A new algorithm for digital relaying with symmetrical components