Remove carry from fit frame.
Rewrite strict and non-strict frame matching mode.