bug fixed: bad contours initialization
bug fixed: correct deleting of contours