linear heap allocator: use rbtree to store allocation size information