FIx the moving average FIFO not weighting issue