Add lines to the last algo

making it readable.