Removing the array part from the heap