tentative new minibatch scheme, mixed with lambda sampling, on mnist example