A brick can be broken with the hammer if the game can find a path for all surrounding bricks to the ground that does not pass through it. At this point, if some would be left floating, the hammer does not kill the brick, while the wands kill it and everything that would be left floating.