update code style

limiting type coercion in benchmarks