DouglasPeuckar implemented