parallel works, merge max_value and min_value to value_range