Draft of paper about algorithm after proof-read of Prof. Bai