verify min availability and and implement reallocate setting

afaik the ``true`` here will only used if the value is ``null`` in the settings.