Updated PIPD algorithm in the scheduler