min-max restored