adding tweaks to heapsort