More minor corrections for the paper about algorithm