binary heap changes