inertial hybrid algorithm