added constraint on fixing broken elements when workers = 0