coo_algorithm
