Fast Stacking & Deactivation solver