initial Mach optimization working