Magnetic field behavior of vertical stacks of Josephson junctions with large idle regions