Iraqi Kurdish fighters are building a berm in the desert near Mosul that could demarcate a boundary of the state they hope to establish after the Islamic State group is defeated.