verify min availability and and implement reallocate setting

please rethink comment as it is not really understandable ;)