Fixed an issue with priority queues with infinite step size.
Fixed pedantic warnings.