avoid copy to new variable in the standard case, else we use the temp var for array reduction to the min/max range