Remove unnecessary bounds check