Stress Test Algorithm