What did the Americans use to fortify their positions during the battles?