Add upper bounds for pointer arrays.