A new genetic algorithm for polygonal approximation