Faster bound checking