unallocate and reallocate ,plot function, acceptance rate based ond demands