Deleted the heap, an array would be better