Minecraft wiki entry for Stronghold, associated text: Small libraries usually generate when the second level of the library is blocked by another part of the stronghold. If there are no obstructions, then large libraries usually generate.