maded the weights used in create_polygons configurable via command line switches