Check for the same value of thickness achieved twice in a row.