Inertia compensator