pvalues,
discretizer,
background,
pvalue_boundary,
max_hash_size);
PrecalculateThresholdLists listCalculator = new PrecalculateThresholdLists(listCalculationParams);
Map<PWM, CanFindPvalue> pwmCollectionWithPvalueCalculators = listCalculator.call();
// Result of this step (pwmCollectionWithPvalueCalculators) should be cached. You need to do it once for a collection of PWMs
// It carries PWMs of collection with their lists of precalculated values so latter calculation can perform binary search by threshold
// In order to stop calculation one should do
// listCalculator.setStatus(Task.Status.INTERRUPTED);