Repair bounds-checking runtime