V: some correction

corrections were actually unnecessary… your program worked correctly, I
just adjusted a code a bit. we will run this procedures millions of
time so they should be optimized as much as possible.

I really like this git hub!