Revert back allocation algorithm