changing uniform_min and uniform_max implementations for avx targets