the code looks safe to disable bounds checking as well