Rewrote allocation code
Abandon ship: have to go to meeting for the rest of the day...