verify min availability and and implement reallocate setting

remove todo