Add function size() and avail() in lenear allocator interface