remove unnecessary check in heap_insert