Support for 8MB models by changing SectorSize from a constant to a call that returns 512 or 4096 depending on model.