custom the comp functor of the set using as a min heap