BROKEN CODE. Finishes a first pass of the Sector module.