Optimum fragment size calculation by LNS

Fragmentation in LFI is based on the optimal fragment size. LNS implementation calculates the two optimal fragment sizes, based on two different criteria:

At the end, only one optimal fragment size is selected. The actual fragment’s length is the optimal fragment size.

Examine closer each of the two optimal fragment sizes.