Title: The modified algorithm of Jacabi-Perron