change to PQueue about the iterator and size methods