add minimum margin