Add helpers for integers boundary checks