use IOUtils.h save_minspace function
comments
export labels of connected components