Optimized 0- and 1-error case of Reed Solomon decoding a bit