ArrayList<AbstractBCHDecoderWorker> workers = new ArrayList<>();
List<Future<BinPolynomial>> futures = new ArrayList<>();
boolean permamentErrors = false;
for(BinPolynomial word : encoded){
AbstractBCHDecoderWorker tmp = BCHDecoderWorkerFactory.getBCHDecoderWorker(code, simpleMode);
tmp.setInput(word);
workers.add(tmp);
}
workerCount += workers.size();
try {