Following to the modification of the event cancellation logic, the simulator no longer needs to remove key-value pairs from the priority queue. For this reason, a standard binary heap can now be used.