Controlling the width of picosecond laser pulses