Comments and ratio directive optimization