finish the writing on the focusing of wavepacket