From a single grain to microstructure: How explosive grains interact under shock compression