it's better to calculate this in local thread min max, and compare with global (mMin) in the end of processing cycle, it will speedup this solution