keep looping on the bad-wrapping cases until everything's right.