WIP:Minibatch adjustor

There are some debugging stuffs there, I'll remove them after finishing tests.