Set max and min default.