polygon packing library