output added; 5 runs for each algo, 30 runs in total