improving decoding speeds