optimize bench running