Select the algorithm, input size and the speed