How much of an underground area must be removed and rebuilt to stop mobs from spawning?

Solution 1:

Just get all the NPC's houses around your bank. Every NPC increases the area that mobs won't spawn. When you have all the NPC's around the bank you won't have any mobs bothering you.