dumpSector and its helper