Some optimizations and final benchmark results