Improve error message for out-of-bound access in parallel vector