<CONTEXT>double[] innerDarkness = new double[mCircleInfos.size()];</BUG>for (int i = minRadius; i <= maxRadius; i++) {<extra_id_0>for (int i = minRadius; i <= maxRadius; i++) {<BUG>double currentQuantile = mCircleInfos.get(Integer.valueOf(i)).getQuantile(MIN_BLACK_QUOTA);</BUG>innerQuantileSum += currentQuantile * i;innerDarkness[i] = i == 0 ? 0 : 2 * innerQuantileSum / (i * (i + 1));}List<CircleInfo> relevantPupilCircles = new ArrayList<>();</CONTEXT>
int maxRadius = mPhase == Phase.INITIAL? mCircleInfos.size() - 1: Math.min(mCircleInfos.size() - 1, baseRadius + MAX_REFINEMENT_STEPS + (int) (MAX_LEAP_WIDTH * resolution));int minRadius = mPhase == Phase.INITIAL ? 0: Math.max(0, baseRadius - MAX_REFINEMENT_STEPS - (int) (MAX_LEAP_WIDTH * resolution));float innerQuantileSum = 0;float[] innerDarkness = new float[mCircleInfos.size()];float currentQuantile = mCircleInfos.get(Integer.valueOf(i)).getQuantile(MIN_BLACK_QUOTA);