Modification of interplanetary shocks near the bow shock and through the magnetosheath | Synapse