fft and extract signal power

This is a process for extracting signal power after fft (fast Fourier transform).

When we calculate the span, why we use the max(round(numpt/200),5). what do 200 and 5 refer to ?

And why spanh=2 ?