Decoding complexity and trellis structure of lattices