Created new stabilization function