It shouldn't really matter - it is here to avoid a division by zero.  The heaps are never added if size=0.