Decoder 2 working but five times too slow. Needs to be speed up before tackling #3.