Finished local bounds check optimizations.