Optimization of synthetic route of 4