We need Open-CL sum reduction to work properly, because at least two big calculations depend on it. A fix here may generalize to min/max reductions.