Correction of FFT optimisation, part IV - buffer allocation amount correction - can be further optimised