Filling holes in binary objects