cleaning + move parallelized decoding to the bof_decode file