The petition shall also be accompanied by a sufficient undertaking, to be approved by the department, in double the amount of the probable cost of forming the district as estimated by the department, conditioned that the sureties shall pay all of the costs in case the formation is not effected.