heapify heap in every update for correctly cal large dataset