implemented PutInQueueExtendLabeledPolys