initial channel encoding