verify min availability and and implement reallocate setting

iff?