Review max priority calculation