add custom implementation of MaxPQ