Out-of-bounds check.