Israel is fortifying bases along its dividing line with Hamas as its military footprint expands inside Gaza.