Finished Bakery alg.