Before revision:  This modification also removes the requirement of having a mini-batch of samples in each iteration  .
After revision:  This modification not only removes the requirement of having a mini-batch of samples in each iteration .