Varying implementations of varying elementary algorithms