Add chunks_decoder
Experimental implementation of decoding input chunks