constant time min value