A generalized approach to compensate for low and high frequency errors in FFT based phase screen simulations