A moving block having mass $m$, collides with another stationary block having mass $4\,m$. The lighter block comes to rest after collision. When the initial velocity of the lighter block is $v$, then the value of coefficient of restitution (e) will be