optimizing insert; corrected s.t. all heaps to meld should have min defined