Proper for ambiguous padding

Adding support for ambiguous padding when the sequence is not a regular frame range.
Fixed #220.