Initialize min and max values