How did square keep castles strengthen castles?