get rid of one hardcoded 512. SECTOR_SIZE is still there. It should probably move...