Fig. (3) Flowchart of the proposed algorithm.