Algorithm adjustment