before fzh global sort
add heap and loser tree into partitioned buffer.