 Cutting the channel proved to be a far greater problem, as the tools available to Li Bing at the time, before gunpowder was invented, could not penetrate the hard rock of the mountain, so he used a combination of fire and water to heat and cool the rocks until they cracked and could be removed.After eight years of work, a channel had been gouged through the mountain.After the system was finished, no more floods occurred.