adding mini batch version for BCFW for simulation