Better strategy for loop invariants.