adding Doug Lea's allocator. add expand heap routine