remove last value of heap