Added formulas for different v8 versions