implement scalePolygon
error double declaration of convexhullPolygon
useless modification