Optimization of soft demodulation algorithm implementation.