I think `LONG_MAX` is architecture dependent, and we probably shouldn't add arch-dependent stuff in the API. What do you want to limit is to? `INT64_MAX`, but this would always be true? Or `INT32_MAX`?