Picking an algorithm