fixed issue #1116 + test - a bug in fill_labeled_holes