locateInvalidContours now adds the contours name instead of mem. address