D/3 Loop Optimizer