add minimum and maximum image area