HG2 Optimization and testing