different stability checks for each algorithm