Added buffer in arma simulation.