atlas algrithm finished