added stream buffer in 'BatchingMesh'