fixed bug with undeclared variable min in Long#div.