Syndrome trellis codes based on minimal span generator matrix