Effect of a laser spike on the beat-wave excitation of a plasma wave