added command line option --scale to divide the displayed frequency range
protect loop against too small values of fft_scale2