added tweak that allows v8 to optimize
0.5.1