if (maxHw12 < max_spec * tolerance) and (Hw1[-1] < Hw2[-1]):