Title: On hard and soft decoding of block codes