On an Algorithm Proposed by Shih