little changes of heapsort