Throughout the Tokugawa period, earth from the shogunate's extensive moat and canal excavations was systematically used to fill in the marshes along the river, creating new commercial districts and waterfront housing.