detectFrameSize

Minimal detect frame size.