add batch mode for propagation