Add algorithms with changed stop condition