Calculates the proper threshold.
an estimate of the number of elements. it is negative if infinite or unknown.
the number of threads (always >= 1)
threshold (must be >= 1)
ForkJoinTask.threshold