Adding min reduction for OpenMP 3.1