max prior que done