The repairs to the walls under the Ottoman cannon fire made use of the rubble, they made a wooden "basket" to hold the rubble; this ended up being very effective, as just like sand, the slight "give" to the rubble swallowed up much of the force of the cannonball.