improved motor balancing algorithm during tight turns