simplified comparator in quality investment plan calculation