OPtimizing turning by removing branching