Free‐electron momentum modulation by means of limited interaction length with light