check length() of Int64 ranges on 32-bit. hopefully fixes #6396