the roof of the hem was a maze of abandoned equipment and carrot was moving along behind the raised platform that held the huge bronze spheres known throughout the city as the wizards ' balls , which discharged surplus magic if - or more usually when - experiments in the hall below fouled up .