Mechanism of pulse shaping in femtosecond lasers based on the high-order soliton