On the gain of the free electron laser (FEL) amplifier for a nonmonoenergetic beam