d for the major S-layer