Fix copyin the results of the segmentation
Add percentage of the patch work, and optimize memory consumption